﻿using System.Linq;
using NHibernate;
using SenileCoderMvc.Library.Models;

namespace SenileCoderMvc.Library.DataAccess
{
    public interface IQueryObject<out T>
        where T : IModel
    {
        IQueryable<T> Query(ISession session);
    }
}
